package com.neusoft.bootjdbc.service;

import com.neusoft.bootjdbc.dao.mapper.UserMapper;
import com.neusoft.bootjdbc.domain.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class UserService {

    @Autowired
    private UserMapper userMapper;

    public List<User> queryALL()
    {
        return userMapper.queryall01();
    }
}
